cd ../

IMAGES=`ls ../jpg/training/*.ppm`
COUNT=1

for i in $IMAGES ; do
    echo 'computing image' $COUNT
    ./inim $i tests/$COUNT.pbm tests/$COUNT.txt
    COUNT=$(($COUNT+1))
done
